Skip to content

fix(ci): turn main green: hypatia pin closure + clippy needless_bool + url 2.5.9 (carries #705 and #706 fixes) - #707

Open
hyperpolymath wants to merge 3 commits into
mainfrom
fix/pinned-closure-hypatia-f2c06048
Open

hyperpolymath wants to merge 3 commits into
mainfrom
fix/pinned-closure-hypatia-f2c06048

Conversation

@hyperpolymath

@hyperpolymath hyperpolymath commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

Why

main fails three required checks and each fix sat in a different PR, so none could merge. This PR carries all three fixes (owner chose "Fold into #707").

Fix Commit Origin
Pinned source closure: re-attest hypatia credential-read-check.yml at f2c06048 6e64d5a this PR
robot-repo-automaton clippy needless_bool in confidence.rs 76a2155 cherry-pick -x from #705 (6ddc6dc)
GSBot audit: url 2.5.9 (RUSTSEC-2026-0592), bots/gsbot/Cargo.lock only 7388520 cherry-pick -x from #706 (6bfdde7)

Original authorship kept on the cherry-picks. The departures commit from #706 is not included; #706 keeps it.

Closure fix (details)

#699 bumped hypatia-scan.yml job scanner-credential to hyperpolymath/hypatia/.github/workflows/credential-read-check.yml@f2c06048… without updating scripts/lib/pinned-reusable-sources.json. Pin only: the file's blob is 15c597ea720a5affb861dab058084f7245ee4cbd at both 29a9e4a8 and f2c06048, so the nested uses: closure is unchanged. No generator exists; same approach as #698 (manifest binding + receipts row).

Local evidence

After merge

Owner: close #705 (superseded); update #706's branch from main so it shrinks to the departures ledger. #704 untouched. #706 and #705 are unchanged by this PR.


Generated by Claude Code

Summary by CodeRabbit

  • Refactor
    • Streamlined protected-file checks without changing which files are protected.
  • Chores
    • Updated a pinned reusable source reference; its recorded path and other metadata remain unchanged.
    • No user-facing behavior changes are included in this update.

…ed Pinned source closure)

Dependabot #699 moved the scanner-credential pin to f2c06048 without
updating the source manifest or receipts. Blob 15c597e is identical at both
commits, so only the commit binding changes; nested uses are unchanged.
@hyperpolymath
hyperpolymath marked this pull request as ready for review November 22, 2026 15:09
Repository owner deleted a comment from coderabbitai Bot Nov 22, 2026
Return the any() result directly instead of an if guard that returns a
bool literal followed by a literal false. Behaviour is unchanged; newer
stable clippy rejects the old form under -D warnings.

(cherry picked from commit 6ddc6dc)
url <= 2.5.8 recurses in Url::origin() on blob: URLs. Lock url to 2.5.9
with 'cargo update -p url --precise 2.5.9'; form_urlencoded moves from
1.2.2 to 1.2.3 with it. Only bots/gsbot/Cargo.lock changes. gsbot builds
and its tests pass with --locked.

(cherry picked from commit 6bfdde7)
@hyperpolymath hyperpolymath changed the title fix(ci): re-attest hypatia credential-read-check at f2c06048 (red Pinned source closure) fix(ci): turn main green: hypatia pin closure + clippy needless_bool + url 2.5.9 (carries #705 and #706 fixes) Nov 22, 2026
@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request simplifies the protected-file boolean return and updates the pinned commit for hyperpolymath/hypatia.

Changes: Protected-file check

Layer / File(s) Summary
Direct boolean return
robot-repo-automaton/src/confidence.rs
is_protected_file returns the protected-directory match directly. The matching condition is unchanged.

Pinned source commit

Layer / File(s) Summary
Hypatia commit update
scripts/lib/pinned-reusable-sources.json
The recorded commit for hyperpolymath/hypatia changes to f2c0604880f615bec5edda7aaefc8feac3d04cc5.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Possibly related PRs

Merge Risk: Minimal · up to 73885

This change simplifies a boolean return without altering behavior and re-binds a pinned workflow source to a commit whose target file is reported unchanged. No concrete merge risk remains.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names three changes: a CI fix that pins the hypatia source, a Clippy needless_bool fix, and a url 2.5.9 lockfile update. The objectives confirm all three. The title is specific and maps to t…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title names three changes: a CI fix that pins the hypatia source, a Clippy needless_bool fix, and a url 2.5.9 lockfile update. The objectives confirm all three. The title is specific and maps to the stated changes, but it is long (110 characters) and lists several items, so it covers more than the main change. The primary change is the hypatia pin re-binding, which the title names first.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between f1b14e2 and 7388520.

Files ignored due to path filters: 2

  • bots/gsbot/Cargo.lock is excluded by !**/*.lock
  • scripts/lib/lock-closure-receipts.tsv is excluded by !**/*.tsv
Files selected for processing: 2

  • robot-repo-automaton/src/confidence.rs
  • scripts/lib/pinned-reusable-sources.json

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@sonarqubecloud

Copy link
Copy Markdown

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants